package com.gushenge.core.beans

import com.chad.library.adapter.base.entity.node.BaseExpandNode
import com.chad.library.adapter.base.entity.node.BaseNode

data class SmallAccountGame(
        var biaoqian: ArrayList<String> = arrayListOf(),
        var icon: String = "",
        var name: String = "",
        var small: MutableList<SmallAccount> = mutableListOf(),
        var summary: String = ""
):BaseExpandNode(){
    override val childNode: MutableList<BaseNode>?
        get() = small as MutableList<BaseNode>

    /*init {
        isExpanded = false
    }*/
}

data class SmallAccount(
    var id: String="",
    var is_login: Int=0,
    var role: String="",
    var role_name: String="",
    var serverid: String="",
    var servername: String="",
    var uid: String=""
):BaseNode(){
    override val childNode: MutableList<BaseNode>?
        get() = null
}